package com.shop.cereshop.agent.param.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description: TODO
 * @author lx
 * @date 2025/11/17 12:10
 * @version 1.0
 */
@Data
@ApiModel(value = "订单支付参数")
public class OrderPayDTO {
    @ApiModelProperty(value = "支付方式 1-余额支付，2-代金券支付", required = true)
    @NotNull(message = "支付方式不能为空")
    private Integer payType;

    @ApiModelProperty(value = "订单id", required = true)
    @NotNull(message = "订单id不能为空")
    private Long orderId;
}
